package com.spring.mapper;


import com.spring.pojo.Users;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.util.List;

@Mapper
public interface UserMapper {
    void insertUser(Users users);

    List<Users> listUser();

    Users login(Users users);

    void del(@Param("id") Integer id);

    @Select("select * from users")
    List<Users> list();
}
